#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Time          : 2022/11/21 15:23
# File          : read_json_file.py
# @Author       : MingTai
# @Department   : platform_qa

import json

filename = '../datafile/vid_detail.json'
with open(filename, 'r', encoding='utf-8') as file:
    data = json.load(file)
    # <class 'dict'>,JSON文件读入到内存以后，就是一个Python中的字典。
    # 字典是支持嵌套的，
    print(type(data))
    print(data)
